docs: Remove more mentions of gtk_main_do_event
authorMatthias Clasen <mclasen@redhat.com>
Sun, 9 Feb 2020 15:45:33 +0000 (10:45 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 9 Feb 2020 15:45:33 +0000 (10:45 -0500)
gtk/gtkmain.c

index d8c1d35bebb9069450ff2d2883f5f79594e97efa..0056c896a1ccc616d09117dfb3da0c4c2c852df2 100644 (file)
@@ -2702,16 +2702,10 @@ gtk_propagate_event_internal (GtkWidget *widget,
  * if the event remains unhandled. This function will emit the event
  * through all the hierarchy of @widget through all propagation phases.
  *
- * Events received by GTK from GDK normally begin in gtk_main_do_event().
+ * Events received by GTK from GDK normally begin at a #GtkRoot widget.
  * Depending on the type of event, existence of modal dialogs, grabs, etc.,
  * the event may be propagated; if so, this function is used.
  *
- * gtk_propagate_event() calls gtk_widget_event() on each widget it
- * decides to send the event to. So gtk_widget_event() is the lowest-level
- * function; it simply emits the #GtkWidget::event and possibly an
- * event-specific signal on a widget. gtk_propagate_event() is a bit
- * higher-level, and gtk_main_do_event() is the highest level.
- *
  * All that said, you most likely don’t want to use any of these
  * functions; synthesizing events is rarely needed. There are almost
  * certainly better ways to achieve your goals. For example, use